package com.example.myspringbootpj.entity;

import java.util.List;


//封装返回的单词测试题：
public class WordQuizDTO {
    private String word; // 单词
    private Integer wordId; // 新增 wordId 字段
    private String correctAnswer; // 正确答案
    private List<String> options; // 选项列表

    public WordQuizDTO(Integer wordId,String word, String correctAnswer, List<String> options) {
        this.word = word;
        this.wordId = wordId;
        this.correctAnswer = correctAnswer;
        this.options = options;
    }
    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }
    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public String getCorrectAnswer() {
        return correctAnswer;
    }

    public void setCorrectAnswer(String correctAnswer) {
        this.correctAnswer = correctAnswer;
    }

    public List<String> getOptions() {
        return options;
    }

    public void setOptions(List<String> options) {
        this.options = options;
    }
}
